﻿using System;

namespace YArchitech.Plumbing
{
	public class HYDrainGradFullness
	{
		public static int ComperByDN(HYDrainGradFullness ris1, HYDrainGradFullness ris2)
		{
			if (ris1 == null || ris2 == null)
			{
				return 0;
			}
			if (ris1 == null)
			{
				return -1;
			}
			if (ris2 == null)
			{
				return 1;
			}
			if (ris1.nDN > ris2.nDN)
			{
				return 1;
			}
			if (ris1.nDN == ris2.nDN)
			{
				return 0;
			}
			return -1;
		}

		public int nType;

		public int nDN;

		public double dUseGrad;

		public double dMinGrad;

		public double dFullness;

		public string szDis;
	}
}
